#include "stdio.h"
#include "string.h"
//逐个替换
int main()
{
char arr1[] = "welcome to QQHR";
char arr2[] = "###############";
int left = 0;
int right = strlen (arr1)-1;
   while(left <= right)
       {
         arr2[left] = arr1[left];
         arr2[right] = arr1[right];
         printf("%s\n",arr2);
             left++;
             right--;
        }
}